#ifndef MOUSEINPUTMANAGER_2018
#define MOUSEINPUTMANAGER_2018

#include "../uicommon/clickable.h"
#include <vector>


class MouseInputManager
{
private:
    MouseInputManager();
    ~MouseInputManager();

private:
    std::vector<Clickable*> m_vector;
    static MouseInputManager* m_instance;

public:
    void removeAllClickable();
    bool removeClickable(Clickable* clickObj);
    bool addClickable(Clickable* clickObj);
    void checkAllClickable(int x,int y);

public:
    static MouseInputManager* getInstance();
    static void createInstance();
    static void releaseInstance();
};

#endif // MOUSEINPUTMANAGER_2018
